package _02创建多线程;

public class MyRunnable implements Runnable {

	@Override
	public void run() {
		System.out.println("小明 开始吃零食");
		for (int i = 0; i < 60; i++) {
			System.out.println("小明吃零食 ~~~~" + i);
			try {
				Thread.sleep(1000);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
		System.out.println("小明 完成吃零食");
	}

}
